package com.rabbit.rabbitmqspringboot.constant;



public class Constants {
    // 工作模式
    public final static String WORK_QUEUE = "work_queue";

    // 订阅模式:广播
    public final static String FANOUT_EXCHANGE = "fanout_exchange";
    public final static String FANOUT_QUEUE1 = "fanout_queue1";
    public final static String FANOUT_QUEUE2 = "fanout_queue2";


    // 路由模式： direct
    public final static String DIRECT_EXCHANGE = "direct_exchange";
    public final static String DIRECT_QUEUE1 = "direct_queue1";
    public final static String DIRECT_QUEUE2 = "direct_queue2";

    // 通配符模式： topic
    public final static String TOPIC_EXCHANGE = "topic_exchange";
    public final static String TOPIC_QUEUE1 = "topic_queue1";
    public final static String TOPIC_QUEUE2 = "topic_queue2";
}
